<?php

// +----------------------------------------------------------------------
// | 路由设置
// +----------------------------------------------------------------------

return [
    //jwt配置
    'jwt' => [
        'key' => '7zikSjhM',
        'expire' => 3600,
        'keeplogin_expire' => 86400,
    ],

    // 不需要验证登录的控制器
    'no_login_controller' => [
        'ajax',
        'test',
        'index',
        'taskcustomer',
        'taskorder',
        'facebook',
        'facebooktwo',
        'tasktransfer',
        'taskorderdispute',
        'taskproduct',
        'taskcount',
        'tasksite',
        'taskachievement',
        'color',
        'size',
        'zt',
        'taskordershopline',
        'taskmetafields',
        'tiktok',
        'businessapi',
        'webhook',
        'wz',
        'taskgraphqlorder',
        'taskcustomerjourney',
    ],

    // 不需要验证登录的方法
    'no_login_node' => [
        '/admin/passport/userinfo',
        '/admin/passport/index',
        '/admin/passport/logout',
        '/admin/passport/update',
        '/admin/output/add_purchase_apply_list',
        '/admin/output/add_purchase_apply',
        '/admin/output/edit_purchase_apply',
        '/admin/output/edit_purchase_apply',
        '/admin/advplatform/index',
        '/admin/advplat/index',
        '/admin/advertising/import_cost',
        '/admin/advertising/uploads',
        '/admin/advertisinglb/import_cost',
        '/admin/advertisinglb/uploads',
        '/admin/costlogistics/uploads',
        '/admin/querypurchase/uploads',
        '/admin/querypurchasesku/uploads',
        '/admin/purchasedcg/uploads',
        '/admin/awaiting/uploads',
        '/admin/purchasedcg/import_cost',
        '/admin/awaiting/import_cost',
        '/admin/customerjourney/uploads',
        '/admin/customerjourney/import_cost',
    ],

    // 不需要验证权限的控制器
    'no_auth_controller' => [],

    // 不需要验证权限的方法
    'no_auth_node' => [],
    //是否是演示站点
    'is_demo' => false,
];
